package com.clei.utils.mybatis;

//import org.mybatis.spring.boot.autoconfigure.ConfigurationCustomizer;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;

/**
 * 添加拦截器配置
 *
 * @author Y
 * @date 2023-09-17
 */
//@Configuration
public class DataEncryptConfig {

//    @Autowired
//    private EncryptInterceptor encryptInterceptor;
//
//    @Autowired
//    private DecryptInterceptor decryptInterceptor;
//
//    @Bean
//    public ConfigurationCustomizer mybatisConfigurationCustomizer() {
//        return configuration -> {
//            configuration.addInterceptor(encryptInterceptor);
//            configuration.addInterceptor(decryptInterceptor);
//        };
//    }
}
